package com.lb.jwitter.action;


import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.lb.jwitter.Tbl_DKMH_DotDK_HocVien;
import com.lb.jwitter.Tbl_DKMH_Ketqua;
import com.lb.jwitter.hibernate.Tbl_DKMH_DotDK_HocVienDAO;
import com.lb.jwitter.hibernate.Tbl_DKMH_KetquaDAO;
import com.lb.jwitter.hibernate.Tbl_Quyen_MenuDAO;
import com.lb.jwitter.hibernate.Tbl_Quyen_NhomQuyenDAO;
import com.lb.jwitter.hibernate.Tbl_ThongTin_HocVien_MonHocDAO;

import com.lb.jwitter.util.ConditionReport;
import com.opensymphony.xwork2.Action;



 /** 
 * @author QUOCVIET  
 * 
 */ 

public class XetTuyenAction{


	   @Autowired
	   @Qualifier("tbl_ThongTin_HocVien_MonHocDAO")
	   private Tbl_ThongTin_HocVien_MonHocDAO _tbl_ThongTin_HocVien_MonHocDAO;
	   @Autowired
	   @Qualifier("tbl_DKMH_KetquaDAO")
	   private Tbl_DKMH_KetquaDAO _tblTbl_DKMH_KetquaDAO;

	   private int tu;
	   public int getTu() {
		return tu;
	}
	public void setTu(int tu) {
		this.tu = tu;
	}
	private int den;
  public int getDen() {
		return den;
	}
	public void setDen(int den) {
		this.den = den;
	}
public String form() throws Exception 
{ 
 try{ 	
//	 _tbl_DKMH_DotDK_HocVienDao.callStoreProceduce();
	Tbl_DKMH_Ketqua ketqua = _tblTbl_DKMH_KetquaDAO.get(new Long(84));
	ketqua.setTinhTrang("RC");
	_tblTbl_DKMH_KetquaDAO.update(ketqua);
	
	 
	  return Action.SUCCESS; 
	  
      } 
      catch(Exception e){ 
      System.out.println("Loi Form tbl_QLDTTXA_HoSo_DiemXetTuyen Action"); 
     e.printStackTrace(); 
    return Action.ERROR; 
 } 
 } 
 
 } 
 
